#-*- Mode: Makefile -*-
# $Id: hlt.conf 35348 2009-10-08 12:04:48Z sgorbuno $

HLTDEFS     := -Duse_aliroot -Duse_root \
               -DROWHOUGHPARAMS -Duse_reconstruction\
               -Duse_newio -DROOTVERSION=\"unchecked\" \
               -DALIROOTVERSION=\"unchecked\" \
	       -D__ROOT__ -DUSE_ALILOG -DLINUX

HLTCXXFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(filter-out -Woverloaded-virtual, $(CXXFLAGS))))
HLTCFLAGS   := $(filter-out -ansi, $(filter-out -pedantic-errors, $(filter-out -Woverloaded-virtual, $(CFLAGS))))
HLTDCXXFLAGS:= $(filter-out -pedantic-errors, $(filter-out -Woverloaded-virtual, $(CXXFLAGS)))
HLTSOFLAGS  := $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)

ifeq (win32gcc,$(ALICE_TARGET))
HLTSOFLAGS  += $(LIBRARY_DEP)
endif

ifdef ALIDEBUG
HLTDEFS += -DDEBUG -D__DEBUG
else
HLTDEFS += -DNDEBUG
endif

ifdef ALIHLT_MLUCDIR
HLTDEFS	 += -Duse_logging
EINCLUDE += $(ALIHLT_MLUCDIR)/include
ELIBS    += MLUC
ELIBSDIR +=$(ALIHLT_MLUCDIR)/lib/tgt_$(ALICE_TARGET)
endif
